﻿@model FilmBookingTicket.Models.Film

@{
    ViewBag.Title = "Chi tiết Phim";
    Layout = "~/Views/Shared/_AdminLayout.cshtml";
}

<h2>Chi Tiết</h2>


  
<table class="table striped bordered hovered" style="margin: 0px 0px 0px 40px">
    <tr>
        <td>
            <div class="display-label">
                @Html.DisplayNameFor(model => model.Name)
            </div>
        </td>
        <td>
            <div class="display-label">
                @Html.DisplayNameFor(model => model.Length)
            </div>
        </td>
        <td>
            <div class="display-label">
                @Html.DisplayNameFor(model => model.Nation)
            </div>
        </td>
        <td>
            <div class="display-label">
                @Html.DisplayNameFor(model => model.Director)
            </div>
        </td>
        <td>
            <div class="display-label">
                @Html.DisplayNameFor(model => model.AgeLimit)
            </div>
        </td>
        <td>
            <div class="display-label">
                @Html.DisplayNameFor(model => model.Format.FormatName)
            </div>
        </td>



        <td>
            <div class="display-label">
                @Html.DisplayNameFor(model => model.Category.CategoryName)
            </div>
        </td>
        <td>
               <div class="display-label">
                @Html.DisplayNameFor(model => model.Description)
            </div>
        </td>
        <td>
            <div class="display-label">
                @Html.DisplayNameFor(model => model.ImageURL)
            </div>
        </td>

    </tr>
    <tr>
        <td>
            <div class="display-field">
                @Html.DisplayFor(model => model.Name)
            </div>
        </td>
        <td>
            <div class="display-field">
                @Html.DisplayFor(model => model.Length)
            </div>
        </td>
        <td>

            <div class="display-field">
                @Html.DisplayFor(model => model.Nation)
            </div>
        </td>
        <td>
            <div class="display-field">
                @Html.DisplayFor(model => model.Director)
            </div>
        </td>
        <td>
            <div class="display-field">
                @Html.DisplayFor(model => model.AgeLimit)
            </div>
        </td>
        <td>
            <div class="display-field">
                @Html.DisplayFor(model => model.Format.FormatName)
            </div>
        </td>
        <td>
            <div class="display-field">
                @Html.DisplayFor(model => model.Category.CategoryName)
            </div>
        </td>
        <td>
            <div class="display-field">
                @Html.DisplayFor(model => model.Description)
            </div>
        </td>
        <td>
            <div class="display-field">
                @Html.DisplayFor(model => model.ImageURL)
            </div>
        </td>
    </tr>
</table>
<p>
    @Html.ActionLink("Edit", "Edit", new { id=Model.FilmId }) |
    @Html.ActionLink("Back to List", "Index")
</p>
